package com.cdie.myschool.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author 朱华扬
 * @date 2022/10/20 16:38
 * @Description
 */
@Data
@TableName(value = "department")
public class DepartmentData {
    @TableField(value = "id")
    private int id;     //主键

    @TableField(value = "department_code")
    private String departmentCode;  //单位编码

    @TableField(value = "department_Name")
    private String departmentName;  //单位名称

    @TableField(value = "department_status")
    private Integer departmentStatus;  //单位有效标识

    @TableField(value = "department_parent_code")
    private Integer departmentParentCode;   //隶属单位编码

    @TableField(value = "timestamp")
    private Date timestamp;         //时间戳
}
